<template>
	<view class="vipInfo">
		<zhu-nav-bar title="办理会员" bgColor="#fff" leftColor="#000" sizeColor="#111"></zhu-nav-bar>
		<view class="vipInfo-plate-1">
			<view class="title">
				输入会员信息
			</view>
			<zhu-cell :imgUrl="require('@/static/img/orderHome/ID-icon.png')" title="姓名" contentText="真实姓名"></zhu-cell>
			<zhu-cell :imgUrl="require('@/static/img/orderHome/phone-icon.png')" title="手机号" contentText="176****4124"></zhu-cell>
			<zhu-cell :imgUrl="require('@/static/img/orderHome/baby-icon.png')" title="宝宝乳名" contentText="屁桃"></zhu-cell>
			<zhu-cell :imgUrl="require('@/static/img/orderHome/baby-shengri-icon.png')" title="宝宝生日" contentText="2020-01-25"></zhu-cell>
		</view>
		<view class="vipInfo-plate-2">
			<view class="title">
				<text>会员卡类型</text>
				<view class="right">
					<image src="../../../../static/img/orderHome/year-vip-800-icon.png" mode="widthFix"></image>
					<text>畅玩800元年卡</text>
				</view>
			</view>
			<view class="input-pice">
				<view class="left">
					<text>优惠金额</text>
					<text>(请手动输入）</text>
				</view>
				<view class="right">
					<text>￥</text>
					<input type="text" value="" />
				</view>
			</view>
			<view class="money">
				<text>共计：</text>
				<view class="money-num">
					￥<text>700</text>.00
				</view>
			</view>
		</view>
		<button class="big-bg-btn" @click="onHandle">确认办理</button>
	</view>
</template>

<script>
	import zhuNavBar from '../../../components/zhuNavBar.vue'
	import zhuCell from '../../../components/zhuCell.vue'
	export default {
		data() {
			return {
				
			};
		},
		components:{
			zhuNavBar,
			zhuCell
		},
		methods:{
			onHandle(){
				uni.navigateTo({
					url:'vipResult/vipResult'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
.vipInfo{
	width: 100vw;
	min-height: 100vh;
	background-color: #F9F9F9;
	.vipInfo-plate-1{
		padding-top: calc(88rpx + var(--status-bar-height));
		.title{
			font-size: 30rpx;
			font-weight: 500;
			color: #999999;
			height: 78rpx;
			display: flex;
			align-items: center;
			padding-left: 30rpx;
		}
	}
	.vipInfo-plate-2{
		width: 690rpx;
		height: 312rpx;
		background: #ffffff;
		border-radius: 20rpx;
		padding: 40rpx 30rpx;
		margin: 30rpx auto 210rpx auto;
		.title{
			display: flex;
			align-items: center;
			justify-content: space-between;
			>text{
				font-size: 30rpx;
				font-weight: 700;
				color: #111111;
			}
			.right{
				display: flex;
				align-items: center;
				image{
					width: 24rpx;
					margin-right: 12rpx;
				}
				text{
					font-size: 28rpx;
					font-weight: 700;
					color: #111111;
				}
			}
		}
		.input-pice{
			height: 130rpx;
			display: flex;
			align-items: center;
			justify-content: space-between;
			border-bottom: 1rpx solid #efefef;
			.left{
				display: flex;
				align-items: center;
				text:first-child{
					font-size: 30rpx;
					font-weight: 700;
					color: #111111;
				}
				text:last-child{
					font-size: 24rpx;
					font-weight: 500;
					color: #999999;
					line-height: 130rpx;
				}
			}
			.right{
				display: flex;
				align-items: center;
				text{
					font-size: 28rpx;
					font-weight: 500;
					color: #333333;
					margin-right: 10rpx;
				}
				input{
					width: 100rpx;
					font-size: 42rpx; 
					font-weight: 400;
					color: #111111;
					padding: 10rpx;
					border-bottom: 1rpx solid #ccc;
					text-align: center;
				}
			}
		}
		.money{
			height: 108rpx;
			display: flex;
			justify-content: flex-end;
			>text{
				font-size: 24rpx;
				font-weight: 500;
				color: #111111;
				line-height: 120rpx;
			}
			.money-num{
				font-size: 24rpx;
				color: #FF6B35;
				line-height: 108rpx;
				text{
					font-size: 36rpx;
					font-weight: 700;
				}
			}
		}
	}
}
</style>
